package com.wang.admin.api.client;

import com.wang.admin.api.model.AdLabel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author WN
 * @date：2024/03/07 9:37
 */
@FeignClient(name = "news-wemedia", url = "http://localhost:8085", contextId = "adLabelFeign")
public interface AdLabelFeign {

    @PostMapping("/adLabel/api/add")
    Integer add(@RequestBody AdLabel adLabel);

}
